import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
import "vant/lib/index.css";
import Vant from "vant";
const app = createApp(App);
import "amfe-flexible";
import "@/utils/rem.js";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
const pinia = createPinia();
app.use(pinia.use(piniaPluginPersistedstate));

app.use(router);
app.use(Vant);
app.mount("#app");
